package com.gangan.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gangan.model.CmsCategory;
import com.gangan.mapper.CmsCategoryMapper;
import com.gangan.model.search.CmsCategorySearch;
import com.gangan.model.view.CmsCategoryView;
import com.gangan.service.ICmsCategoryService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jobob
 * @since 2019-08-20
 */
@Service
public class CmsCategoryServiceImpl extends ServiceImpl<CmsCategoryMapper, CmsCategory> implements ICmsCategoryService {

    @Autowired
    CmsCategoryMapper mapper;
    /**
     * 关联字典表进行查询
     * @param queryWrapper
     * @return
     */
    @Override
    public List<CmsCategory> select(Wrapper<CmsCategory> queryWrapper) {
        return baseMapper.select(queryWrapper);
    }
}
